package com.shu.project.vo;

import com.shu.framework.validator.IsMobile;
import com.shu.project.model.BaseEntity;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * 登录vo
 */
public class LoginVo extends BaseEntity {
    private static final long serialVersionUID = -2729319030015265599L;
    @NotNull
    @IsMobile
    private String mobile;
    @NotNull
    @Length(min = 32)
    private String password;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
